Repository navigation
[blazor] Stabilize persisted state Auto render test - #70836
Merged
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the test-only change that moves resource blocking to destination-page startup.
No open issues 🎉
What changed in this PR
This test-only change adjusts Blazor’s persisted-state Auto-render test setup to prevent the home page from consuming the one-shot WebAssembly resource-block flag.
Changes:
- Removes resource blocking from the home-page setup when enhanced navigation is suppressed.
- Arms the block on the destination page immediately before Blazor starts for the initial Auto/server pass, leaving the enhanced-navigation path unchanged.
| File | Description |
|---|---|
src/Components/test/E2ETest/Tests/StatePersistenceTest.cs |
Moves resource-block setup to destination-page startup and documents the ordering requirement. |
Review effort: Balanced
Member
|
/review |
Member
Author
|
/azp run aspnetcore-components-e2e Note This comment was generated with the assistance of GitHub Copilot. |
|
No pipelines are associated with this pull request. |
4 tasks
Member
Author
|
/ba-g Failure is #70860 |
dariatiurina
approved these changes
Nov 26, 2026
maraf
temporarily deployed
to
copilot-pat-pool
November 26, 2026 14:34 — with
GitHub Actions
Inactive
maraf
temporarily deployed
to
copilot-pat-pool
November 26, 2026 14:34 — with
GitHub Actions
Inactive
maraf
temporarily deployed
to
copilot-pat-pool
November 26, 2026 14:35 — with
GitHub Actions
Inactive
maraf
temporarily deployed
to
copilot-pat-pool
November 26, 2026 14:37 — with
GitHub Actions
Inactive
maraf
temporarily deployed
to
copilot-pat-pool
November 26, 2026 14:38 — with
GitHub Actions
Inactive
maraf
temporarily deployed
to
copilot-pat-pool
November 26, 2026 14:39 — with
GitHub Actions
Inactive
Contributor
|
✅ No documentation PR was created. Confidence that documentation is needed: 2% No docs needed: the PR is limited to stabilizing an E2E test (test infrastructure), with no public or observable behavior change. Documentation surfaces considered
|
maraf
temporarily deployed
to
copilot-pat-pool
November 26, 2026 14:39 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
c46c847140e5f77a512e6dd9c29a195cc6470c46↓ Final patch was not built or tested; a peer-reported passing control did not retain its patch.
↓ The temporary full-runtime gate's exact source was not retained.
↓ The CI interleaving and flag consumption were not observed directly.
[blazor] Stabilize persisted state Auto render test
Prevent the home page from consuming the Auto test's one-shot flag.
Description
Move the WebAssembly resource-block setup for suppressed enhanced navigation to the destination page, just before Blazor starts. The home page can otherwise consume the flag during its own startup, leaving the destination without the unblock hook. The enhanced-navigation path remains unchanged.
The gated Chrome investigation reproduced the same exception in both suppressed-navigation Auto rows. A peer reported a passing control with the flag moved, but its exact patch was not retained. The final patch has not been built or tested. The CI timing remains unconfirmed. See build 1698890.
No linked issue.
Note
This PR description was generated with the assistance of GitHub Copilot.